home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 32
/
Aminet 32 (1999)(Schatztruhe)[!][Aug 1999].iso
/
GoldED
/
Add-Ons
/
envRCS09
/
Install
< prev
next >
Wrap
Text File
|
1999-07-06
|
5KB
|
168 lines
; $VER: 1.0 All rights reserved.
(delopts "oknodelete" "force" "askuser")
(complete 0)
(if (exists "GOLDED:" (NOREQ))
(
(set vernum (getversion "golded:golded"))
(set ver (/ vernum 65536))
(set rev (- vernum (* ver 65536)))
(set version (+ (* 10 ver) rev))
(if (< version 47)
(
(message "\nSorry, GoldED 4.7.0 or better required")
(exit (quiet))
)
)
(message (cat "\n"
" \n"
"RCS for GoldED (experimental beta) \n"
" \n"
"©1997 Dietmar Eilert \n"
" All Rights Reserved. \n"
" \n"
" E-Mail: dietmar@tomate.tng.oche.de \n"
" \n"
"GoldED Release 4.7.0+ required. \n"
))
(if (and (exists "rcs:" (noreq)) (exists "rcs:ci" (noreq)) (exists "rcs:co" (noreq)) (exists "rcs:rcs" (noreq)) (exists "rcs:rlog" (noreq)) (exists "rcs:setuprcs" (noreq)))
(
(if (not (exists "golded:api"))
(makedir "golded:api")
)
(if (not (exists "golded:syntax"))
(makedir "golded:syntax")
)
; install registry editor (if not yet installed)
(if (not (exists "golded:tools"))
(makedir "golded:tools")
)
(if (not (exists "golded:tools/regedit"))
(makedir "golded:tools/regedit")
)
(copylib
(prompt "Install registry editor ?")
(source "bin/regedit" )
(dest "golded:tools/regedit")
(confirm)
(help @copylib-help)
)
; install basic files
(if (not (exists "golded:tools/rcs"))
(makedir "golded:tools/rcs")
)
(copyfiles
(source "rcs")
(dest "golded:tools/rcs")
(all)
)
; install toolbar images
(if (exists "toolbar") (
(set hicolor
(askchoice
(prompt "\nSelect toolbar style:\n")
(choices
"4 colors"
"8+ colors"
)
(default 1)
(help (cat "\n"
" You can use both styles on all screens. The 4\n"
" color style has been optimized for 4-color \n"
" screens. The 8+ style has been optimized for \n"
" screens with eight or more colors. \n"
))
)
)
(if (not (exists "golded:toolbar"))
(makedir "golded:toolbar")
)
(if (not (exists "golded:toolbar/rcs"))
(makedir "golded:toolbar/rcs")
)
(copyfiles
(source "toolbar")
(dest "golded:toolbar")
(all)
)
(if (= hicolor 1)
(copyfiles
(source "toolbar16")
(dest "golded:toolbar")
(nogauge)
(all)
)
)
))
; update registry
(working "Updating registry...")
(run "golded:tools/regedit/regedit script=install.bat")
)
(message (cat "\n"
"HWRCS required. Please install HWRCS before\n"
"you proceed. \n"
))
)
)
(message (cat "\n"
"Please install GoldED before attempting to\n"
"install this client. \n"
))
)
(exit (quiet))
(welcome)